package oo2;

public class Bus {
	String lineNo;

	public Bus(String l) {
		this.lineNo = l;
	}

	public void enterStation() {
		System.out.println(lineNo + "进站了");
	}

	public void leaveStation() {
		System.out.println(lineNo + "出站了，请乘客抓紧扶牢");
	}
}
